<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 嵌套的越深，权重就越高 */
        body div .one{
            color:blue;
        }
        div .one{
            color:green;
        }
        .one{
            color: red;
        }
    </style>
</head>
<body>
    <div>
        <p class="one">hello world</p>
    </div>
</body>
</html>